package com.doyens.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "学生对应费用实体类")
@TableName(value = "sch_integral")
public class Integral implements Serializable {

    @ApiModelProperty(value = "费用表主键id")
    @TableId(value = "integral_id",type = IdType.AUTO)
    private Integer integralId;

    @ApiModelProperty(value = "学生id")
    private Integer studentId;

    @ApiModelProperty(value = "得分")
    private Integer score;

    @ApiModelProperty(value = "总分")
    private Integer totalscore;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
